package com.javatest.springbootcache01.mapper;

import com.javatest.springbootcache01.bean.Department;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/3/21 21:12
 */
@Mapper
public interface DepartmentMapper {

    @Select("SELECT * FROM department WHERE id=#{id} ")
    Department getDeptById(Integer id);
}
